<?php
namespace DesignPatterns\Creator\SimpleFactory;

/**
 * 操作类型抽象类
 * Class AOperation
 * @package DesignPatterns\Creator\SimpleFactroy
 */
abstract class AOperation
{
    protected $numberA;

    protected $numberB;

    abstract public function getResult();

    public function setNumberA($number)
    {
        $this->numberA = $number;
    }

    public function setNumberB($number)
    {
        $this->numberB = $number;
    }


}